<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>冒泡与取消冒泡</title>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>
<div id="case4-moe">
<a href="https://www.moe123.net/" v-on:click.prevent="preventClick($el)">萌导航</a>
</div>
<script type="text/javascript">
    var caseDemo2=new Vue({
        el:"#case4-moe",
        data:{

        },
        methods:{
            preventClick:function () {

            }
        }
    })
</script>
</body>
</html>